<?php
  include("lang.inc");
  include("conn.inc");
  session_start();
//Smarty Settings :Start
if(!isset($folderName))
{
	require('./include/smarty/libs/Smarty.class.php');  // put full path to Smarty.class.php
	$smarty = new Smarty();
	
	$smarty->setTemplateDir('./templates');
	$smarty->setCompileDir ('./include/smarty/omTemplates_c');
	$smarty->setCacheDir   ('./include/smarty/omCache');
	$smarty->setConfigDir  ('./include/smarty/omConfigs');
}
elseif($folderName == "common")
{
	require('../include/smarty/libs/Smarty.class.php');  // put full path to Smarty.class.php
	$smarty = new Smarty();
	
	$smarty->setTemplateDir('./templates');
	$smarty->setCompileDir ('../include/smarty/omTemplates_c/common');
	$smarty->setCacheDir   ('../include/smarty/omCache');
	$smarty->setConfigDir  ('../include/smarty/omConfigs');
}
//Smarty Settings :End

$cfgPack = "1";

///////////////
$cfgFileNames['index']['admin']          = 1;
$cfgFileNames['party']['admin']          = 1;
$cfgFileNames['item']['admin']           = 1;
$cfgFileNames['settings']['admin']       = 1;
$cfgFileNames['marko']['admin']          = 1;
$cfgFileNames['masterDelete']['admin']   = 1;
$cfgFileNames['changePassword']['admin'] = 1;
$cfgFileNames['supplierEntry']['admin']  = 1;
$cfgFileNames['supplierList']['admin']   = 1;
$cfgFileNames['bill']['admin']           = 1;
$cfgFileNames['billPrint']['admin']      = 1;
$cfgFileNames['rojmel']['admin']         = 1;
$cfgFileNames['garnu']['admin']          = 1;
$cfgFileNames['garnuList']['admin']      = 1;
$cfgFileNames['rollPress']['admin']      = 1;
$cfgFileNames['bidva']['admin']          = 1;
$cfgFileNames['revava']['admin']         = 1;
$cfgFileNames['chholkam']['admin']       = 1;
$cfgFileNames['fitting']['admin']        = 1;
$cfgFileNames['PKadi']['admin']          = 1;
$cfgFileNames['seal']['admin']           = 1;
$cfgFileNames['minakam']['admin']        = 1;
$cfgFileNames['vibrator']['admin']       = 1;

$cfgFileNames['supplier']['marketingManager']           = 0;
$cfgFileNames['deliveryChalan']['marketingManager']     = 0;
$cfgFileNames['grn']['marketingManager']                = 0;
$cfgFileNames['deliveryChalanList']['marketingManager'] = 0;

$cfgFileNames['supplier']['marketingExecutive']           = 0;
$cfgFileNames['deliveryChalan']['marketingExecutive']     = 0;
$cfgFileNames['grn']['marketingExecutive']                = 0;
$cfgFileNames['deliveryChalanList']['marketingExecutive'] = 0;

$cfgFileNames['masterDelete']['menu123']   = 0;
$cfgFileNames['changePassword']['menu123'] = 0;
$cfgFileNames['supplierEntry']['menu123']  = 0;
$cfgFileNames['supplierList']['menu123']   = 0;
$cfgFileNames['bill']['menu123']           = 0;
$cfgFileNames['billPrint']['menu123']      = 0;
$cfgFileNames['rojmel']['menu123']         = 0;
$cfgFileNames['garnu']['menu123']          = 0;
$cfgFileNames['garnuList']['menu123']      = 0;
$cfgFileNames['rollPress']['menu123']      = 1;
$cfgFileNames['bidva']['menu123']          = 1;
$cfgFileNames['revava']['menu123']         = 1;
$cfgFileNames['chholkam']['menu123']       = 1;
$cfgFileNames['fitting']['menu123']        = 1;
$cfgFileNames['PKadi']['menu123']          = 1;
$cfgFileNames['seal']['menu123']           = 1;
$cfgFileNames['minakam']['menu123']        = 1;
$cfgFileNames['vibrator']['menu123']       = 1;
///////////////

$cfgTimeZone  = new DateTimeZone("Asia/Kolkata");
$cfgSmsCount = 1000;
include("./blinkText.php");
?>